[Issue-3] feat: pushgate hook runner test harness#22
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Build the issue #3 behavioral harness before the hook and runner rewrite so later Pushgate changes can be exercised against disposable Git repositories instead of manual pushes.
Closes #3.
Type of change
fix:- Bug fix (patch version bump)feat:- New feature (minor version bump)feat!:/fix!:- Breaking change (major version bump)docs:- Documentation only (no version bump)chore:- Maintenance or config (no version bump)refactor:- Code restructure, no behaviour change (no version bump)Changes made
HOMEandPATH, stubs deterministic tools and Claude, records stub artifacts, and supports a real bare-remote push smoke path.git push --no-verifypaths on the current hook surface.ignore_pathslist parsing to use portable awk whitespace classes and keep the ShellCheck directive attached to thecasecommand it governs.Testing
pnpm testpnpm buildpnpm run check:shellpnpm run lint:shellChecklist
eval, heredoc variable expansion, or unquoted variable interpolation added to shell scriptsVERSION,CHANGELOG.md,.release-please-manifest.json, andrelease-please-config.jsonwere not manually editedScreenshots / output
The new harness asserts behavior through exit codes, focused terminal markers, and stub artifacts rather than snapshotting full terminal output.